import { debounce, throttle } from 'lodash-es'
// _.debounce(func, wait, options, ${options.leading}, ${options.maxWait}, ${options.trailing})
// _.throttle(func, wait, options, ${options.leading}, ${options.trailing})

export function $debounce(func, wait = 500) {
    return debounce(func, wait)
}

export function $throttle(func, wait = 500) {
    return throttle(func, wait)
}
